<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    div{width: 600px;
       height: 400px;
       border: 1px solid #000; } 
    img{width:100%;
    height:100%;}
    </style>
</head>
<body>
    <div>
        <img src="img/1.jpg">
    </div>
</body>
</html>